import {KASEO_DEV_MEM_SIZE} from "./KaseoConfigs";
import KaseoDeviceInterface from "./KaseoDeviceInterface";

export default class KaseoDevice {
    public readonly devInterface;
    public knockHost: (devType: symbol) => void
    public devmem = new Array<any>(KASEO_DEV_MEM_SIZE)

    constructor(devInterface: KaseoDeviceInterface, knockHost: (devType: symbol) => void) {
        this.devInterface = devInterface
        devInterface.__$$initDevAdaptor(this) 
        this.knockHost = knockHost
    }
} 
